package com.wuyi.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import java.util.Date;

/**
 * @author 曾川
 * @version 1.0.0
 * @ClassName ResourceVO.java
 * @Description 资源VO
 * @createTime 2021年11月17日 10:18:00
 */
@Data
public class ResourceVO {

    private Integer resourceId;
    private Integer resourceCid;
    private String resourceUid;
    private String resourceUserName;
    private String resourceName;
    private String resourceImage;
    private String resourceUrl;
    private String resourceDesc;
    private Integer isFollowed;
    private Integer isCollected;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date resourceTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;
}
